Automattic\Jetpack_Boost\Lib\Connection S

Total Complexity 37
Dependencies 8
Dependents 1
Total lines 309
Lines of code 143
Logical lines of code 59
Comment lines 111
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
deactivate_disconnect_network()
S
60 4 13
is_connected()
S
62 4 11
get_connection_api_response()
S
67 4 7
register()
S
63 3 12
wpcom_blog_id()
S
77 3 3
can_manage_connection()
S
60 2 15
register_rest_routes()
S
57 1 20
rest_accept_tos_clarification()
S
64 2 10
should_clarify_tos()
S
67 2 8
rest_authorization_required_code()
S
79 2 3
initialize_deactivate_disconnect()
S
67 2 8
create_connection_endpoint()
S
68 2 8
get_connection_endpoint()
S
80 1 3
add_connection_config_data()
S
76 1 4
disconnect()
S
74 1 5
deactivate_disconnect()
S
78 1 4
accept_tos_clarification()
S
79 1 3
__construct()
S
69 1 6